package com.hpin.fansea.service;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.hpin.fansea.R;
import com.hpin.fansea.base.BaseActivity;

/**
 *
 * 快递详情页面
 * Created by Aaron on 15/9/16.
 */
public class ExpressDetailActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_express_detail);

        initWidget();

    }

    private void initWidget() {

        ImageView iv_left = (ImageView) findViewById(R.id.iv_left);
        TextView tv_title = (TextView) findViewById(R.id.tv_title);

        tv_title.setText(getResources().getString(R.string.express));

        iv_left.setOnClickListener(this);


        TextView tv_goods = (TextView) findViewById(R.id.tv_goods);
        TextView tv_order_time = (TextView) findViewById(R.id.tv_order_time);
        TextView tv_receiver = (TextView) findViewById(R.id.tv_receiver);
        TextView tv_address = (TextView) findViewById(R.id.tv_address);
        TextView tv_house_address = (TextView) findViewById(R.id.tv_house_address);

        Button btn_sign = (Button) findViewById(R.id.btn_sign);

        btn_sign.setOnClickListener(this);
    }

    @Override
    public void widgetClick(View v) {

        switch (v.getId()) {

            case R.id.iv_left:
                finish();
                break;

            case R.id.btn_sign://签收


                break;

        }

    }
}
